//
//  HLELowcostUtil.h
//  HLELowcostPeripherial
//
//  Created by hle1 on 2021/5/4.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HLELowcostUtil : NSObject

/// 字符串转换成字节数组
/// @param string 字符串
/// @param bytes 字节数组
+ (void)string:(NSString *)string toBytes:(unsigned char *)bytes;

+ (NSString *)getStringFromBytes:(Byte*)bytes ofLength:(int)length;
@end

NS_ASSUME_NONNULL_END
